﻿#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2011-11-17 15:50:52Z</CreationDate>
</File>
*/
#endregion

using System.Collections.Generic;

namespace Outcoder.ComponentModel.StatePreservation
{
	public interface IStatePreservation
	{
		void LoadState(IDictionary<string, object> persistentStateDictionary,
						IDictionary<string, object> transientStateDictionary,
						bool loadTransientStateRequired);

		void SaveState(IDictionary<string, object> persistentStateDictionary,
						IDictionary<string, object> transientStateDictionary);
	}
}